package en.tedu.mybatosannotatio.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CommentMapper {
        @Insert("INSERT INTO comment(content,user_id,weibo_id) VALUES (#{content},#{user_id},#{weibo_id})")
        int insert(@Param("content")String content, @Param("user_id")Integer userid, @Param("weibo_id")Integer weiboId);
}
